#tools_left {
    overflow-x: hidden;
}
#tools_left .tools-item {
    float: left;
    width: 81px;
    margin-left: 10px;
    background-color: #f2f2f2;
    border: 2px solid #f2f2f2;
    height: 120px;
    margin-bottom: 10px;
    position: relative;
}
#tools_left .tools-item.current-tool {
    border: 2px solid #409eff;
}
#tools_left .tools-item div:first-child {
    display: inline-block;
    margin: 10px 0 15px 0;
}
#tools_left .tools-item div:last-child {
    position: absolute;
    width: 100%;
    bottom: 10px;
}
#tools_left .tools-item .iconfont {
    font-size: 30px;
    line-height: 50px;
}

/*画墙*/
#tools_left .wall-tools .tools-item div:first-child {
    border: 4px solid #999;
    height: 50px;
    width: 50px;
}
#tools_left .wall-tools .tools-item .iconfont {
    color: #999;
}

/* 房源(可关联真实房源) */
#tools_left .house-tools .tools-item div:first-child {
    width: 58px;
    height: 58px;
    background-color: #999;
}
#tools_left .house-tools .tools-item .iconfont {
    color: #fff;
    line-height: 58px;
}

/* 公共 */
#tools_left .common-tools .tools-item div:first-child {
    font-size: 36px;
    color: #666;
}
#tools_left
    .common-tools
    .tools-item
    div:first-child.icon-shuangkaimen-copy-copy {
    font-size: 58px;
}
#tools_left
    .common-tools
    .tools-item
    div:first-child.icon-menchuangtuli_dankaimen {
    font-size: 58px;
}

/* 形状 */
#tools_left .shape-tools .tools-item div:first-child {
    border: 2px solid #999;
    background-color: #fff;
    width: 54px;
    height: 54px;
}
#tools_left .shape-tools .tools-item div:first-child.rect {
    height: 30px;
    margin-top: 24px;
}
#tools_left .shape-tools .tools-item div:first-child.circle {
    border-radius: 100%;
}
#tools_left .shape-tools .tools-item div:last-child.iconfont {
    color: #999;
    line-height: 56px;
}

/** 原来的左侧工具按钮设为不可见 */
#tools_left .tool_button,
#tools_left .tool_button_current {
    display: none;
}

/** 重设部分样式 */
#tools_left #tools_shapelib {
    display: block !important;
    top: 461px !important;
    left: 6px !important;
    width: 282px !important;
    opacity: 0;
}
#tools_left #shape_buttons {
    width: 100% !important;
    overflow: hidden !important;
}
#tools_left #tools_shapelib.tools_flyout .tool_button {
    margin-right: 8px;
    width: 80px;
    height: 120px;
    margin-top: 10px;
    display: block;
}
#tools_left #tools_shapelib.tools_flyout .tool_button:nth-child(3n) {
    margin-right: 0;
}
/** 右侧面板不需要 */
#sidepanels {
    display: none;
}
#workarea {
    border: none !important;
}

/** 顶部按钮部分隐藏 */
#tools_bottom {
    display: none !important;
}
#zoom_panel {
    display: block !important;
}

#svgcanvas title {
    display: none !important;
    opacity: 0 !important;
}

/** 重设顶部操作按钮样式 */
#marker_panel {
    display: none !important;
}
#tools_top {
    left: 320px;
    overflow: hidden;
}

#tools_top #menu_panel {
    display: block !important;
    float: left;
}
#tools_top #menu_panel #tool_open {
    position: relative;
}
#tools_top #menu_panel #tool_open input {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
#tools_top .tool_button,
#tools_top .push_button,
#tools_top .push_button_pressed {
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: none;
    -webkit-appearance: none;
    text-align: center;
    box-sizing: content-box;
    transition: 0.1s;
    color: #fff;
    background-color: #409eff !important;
    box-shadow: none;
    line-height: 24px;
}
#tools_top .tool_button:hover,
#tools_top .push_button:hover {
    background: #66b1ff !important;
}
#canvas_size {
    float: left;
    margin-left: 10px;
    margin-right: 10px;
}
#canvas_size label {
    line-height: 40px;
}
#canvas_size input {
    height: 26px;
    border: 1px solid #ddd;
}
#canvas_size #tool_canvas_size_save {
    width: 30px;
    padding: 3px 8px;
}
#canvas_stroke {
    float: left;
}
#canvas_stroke label {
    line-height: 40px;
}
#canvas_stroke input {
    height: 26px;
    width: 50px;
    border: 1px solid #ddd;
}
#canvas_stroke input:after {
    content: "";
}
#zoom_panel {
    margin: 0 5px;
}
#zoom_panel label {
    line-height: 40px;
}
#zoom_panel input {
    height: 26px;
    width: 70px;
    border: 1px solid #ddd;
}
#zoom_panel input.spin-button {
    background-position: 47px -8px;
}
#zoom_panel input.spin-button.up {
    background-position: 47px -90px; /* 18px matches height of 2 visible buttons */
}
#zoom_panel input.spin-button.down {
    background-position: 47px -50px; /* 36px matches height of 2x2 visible buttons */
}
#dialog_container {
    height: auto !important;
}
#save_file_wrapper {
    float: right;
    margin-right: 10px;
}
#save_file_wrapper #save_svg_file {
    width: 60px;
}
#save_file_wrapper #cancel_edit {
    width: 70px;
    background: #fff !important;
    color: #333;
    border: 1px solid #ccc;
    line-height: 26px;
    margin-left: 5px;
}
.popup-box {
    display: none;
}
.popup-box .popup-cover {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0.4;
    z-index: 999;
}
.popup-box .popup-content {
    position: absolute;
    text-align: center;
    left: 50%;
    top: 50%;
    width: 440px;
    margin-left: -220px;
    height: 290px;
    margin-top: -145px;
    z-index: 9999;
    background: #fff;
    border: 1px outset #ddd;
}
.popup-box .header-content {
    position: relative;
    height: 50px;
    line-height: 50px;
}
.popup-box .header-content .popup-title {
    font-size: 18px;
    font-weight: bold;
}
.popup-box .header-content .close-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
}
#choose-template-wrapper .icon-wrapper {
    display: inline-block;
    width: 100px;
    background: #f8f9f9;
    height: 120px;
    vertical-align: middle;
    margin: 30px 15px;
}

#upload-image-popup .upload-wrapper {
    position: relative;
    width: 200px;
    height: 100px;
    background-color: #f2f2f2;
    display: inline-block;
    margin: 30px;
    overflow: hidden;
}
#upload-image-popup .upload-wrapper .input-style {
    color: #999;
}

#upload-image-popup .upload-wrapper .input-style .iconfont {
    color: #999;
    font-size: 40px;
}

#upload-image-popup .upload-wrapper input {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
}
